//---------------------------------------------------------------------------
//  Excel Multivalue Formula Add-In
//  Copyright (C) <2005> <Herbert Danler>
//  Contact: danler@users.sourceforge.net
//  Project Home Page: http://excelmvf.sourceforge.net/
//
//  This program is free software; you can redistribute it and/or modify it under
//  the terms of the GNU General Public License as published by the Free Software
//  Foundation; either version 2 of the License, or (at your option) any
//  later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
//  or FITNESS FOR A PARTICULAR PURPOSE.
//  See the GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License along with
//  this program; if not, write to the Free Software Foundation, Inc.,
//  59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//---------------------------------------------------------------------------

/***********************************************************************
 * Module:  stringhelper.h
 * Author:  Herbert Danler
 * Created: Dienstag, 27. Juli 2004 11:17:23
 * Modified: Montag, 30. August 2004 15:46:13
 * Purpose: Declaration of the class stringhelper
 * Comment: class with static helper functions for std::string datatype
 *    used as instead of extending the std::basic_string class
 ***********************************************************************/

#if !defined(stringhelper_h)
#define stringhelper_h

#include <string>
#include <stdlib.h>

class StringHelper
{
public:
   /* deletes blanks on both ends of a string */
   static std::string trim(std::string ptrimstring);
   static std::string makeLower(const std::string& s);
   static std::string makeUpper(const std::string& s);
   static double toDouble(const std::string& s);
   static int toInt(const std::string& s);

protected:
private:
};


#endif

